package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备监控常见字段对象 fac_common_monitor_field
 * 
 * @author rww
 * @date 2024-06-17
 */
public class FacCommonMonitorField extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String field;

    /** 字段描述 */
    @Excel(name = "字段描述")
    private String fieldDesc;

    /** 字段值类型 */
    @Excel(name = "字段值类型")
    private String fieldValueType;

    /** 字段单位 */
    @Excel(name = "字段单位")
    private String fieldUnit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setField(String field) 
    {
        this.field = field;
    }

    public String getField() 
    {
        return field;
    }
    public void setFieldDesc(String fieldDesc) 
    {
        this.fieldDesc = fieldDesc;
    }

    public String getFieldDesc() 
    {
        return fieldDesc;
    }
    public void setFieldValueType(String fieldValueType) 
    {
        this.fieldValueType = fieldValueType;
    }

    public String getFieldValueType() 
    {
        return fieldValueType;
    }
    public void setFieldUnit(String fieldUnit) 
    {
        this.fieldUnit = fieldUnit;
    }

    public String getFieldUnit() 
    {
        return fieldUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("field", getField())
            .append("fieldDesc", getFieldDesc())
            .append("fieldValueType", getFieldValueType())
            .append("fieldUnit", getFieldUnit())
            .append("remark", getRemark())
            .toString();
    }
}
